package com.lxl.securitypermission.service;

import com.lxl.securitypermission.controller.vo.MenuVo;
import com.lxl.securitypermission.dto.ResponseResult;
import com.lxl.securitypermission.entity.SMenu;
import com.lxl.securitypermission.vo.TreeMenu;
import java.util.List;

/**
 * @author 绫小路
 * @date 2020/12/30 21:56
 * @description
 */
public interface MenuService {

  List<SMenu> getMenuList(Integer userId);

  ResponseResult<List<TreeMenu>> getTreeMenu(Integer status);

  ResponseResult<SMenu> info(int id);

  ResponseResult update(MenuVo menuVo) ;

  ResponseResult add(MenuVo menuVo);

  ResponseResult delete(Integer id);

  ResponseResult permissionInfo(Integer menuId);

  ResponseResult updatePermission(Integer menuId,String roleIds);
}
